/*
 * @Author: 邱狮杰
 * @Date: 2021-05-15 10:41:32
 * @LastEditTime: 2021-05-15 11:13:32
 * @FilePath: /weddingdress/src/page/selectionRecommendation/components/button/index.tsx
 * @Description: 描述
 */

import { CSSProperties, FC, MouseEvent } from "react";
import "./index.scss";

type Props = {
  style?: CSSProperties;
  content: string;
  onProxyClick: (e: MouseEvent<HTMLDivElement, globalThis.MouseEvent>) => void;
};

const OperactionButton: FC<Props> = ({ style, content, onProxyClick }) => {
  return (
    <div onClick={onProxyClick} style={style} className="containerButton">
      {content}
    </div>
  );
};

export default OperactionButton;
